/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif.enumerated;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>Java class for enumLocationType.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class. <p>
 * <pre>
 * &lt;simpleType name="enumLocationType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="administrative"/>
 *     &lt;enumeration value="aerodrome"/>
 *     &lt;enumeration value="agriculture"/>
 *     &lt;enumeration value="airfield"/>
 *     &lt;enumeration value="airport"/>
 *     &lt;enumeration value="amphitheater"/>
 *     &lt;enumeration value="amusement_park"/>
 *     &lt;enumeration value="animal_enclosure"/>
 *     &lt;enumeration value="aquarium"/>
 *     &lt;enumeration value="arcade"/>
 *     &lt;enumeration value="archaeological_site"/>
 *     &lt;enumeration value="arena"/>
 *     &lt;enumeration value="armory"/>
 *     &lt;enumeration value="art_center"/>
 *     &lt;enumeration value="art_gallery"/>
 *     &lt;enumeration value="attraction"/>
 *     &lt;enumeration value="auditorium"/>
 *     &lt;enumeration value="aviation"/>
 *     &lt;enumeration value="bank"/>
 *     &lt;enumeration value="barracks"/>
 *     &lt;enumeration value="basketball_court"/>
 *     &lt;enumeration value="battlefield"/>
 *     &lt;enumeration value="beach_resort"/>
 *     &lt;enumeration value="bed_and_breakfast"/>
 *     &lt;enumeration value="biergarten"/>
 *     &lt;enumeration value="boathouse"/>
 *     &lt;enumeration value="boatyard"/>
 *     &lt;enumeration value="bus_station"/>
 *     &lt;enumeration value="business_center"/>
 *     &lt;enumeration value="campus"/>
 *     &lt;enumeration value="casino"/>
 *     &lt;enumeration value="castle"/>
 *     &lt;enumeration value="cemetery"/>
 *     &lt;enumeration value="chamber_of_commerce"/>
 *     &lt;enumeration value="church"/>
 *     &lt;enumeration value="cinema"/>
 *     &lt;enumeration value="city_hall"/>
 *     &lt;enumeration value="club"/>
 *     &lt;enumeration value="club_house"/>
 *     &lt;enumeration value="college"/>
 *     &lt;enumeration value="commercial"/>
 *     &lt;enumeration value="concert_venue"/>
 *     &lt;enumeration value="conference_center"/>
 *     &lt;enumeration value="conservatory"/>
 *     &lt;enumeration value="construction_site"/>
 *     &lt;enumeration value="control_tower"/>
 *     &lt;enumeration value="convention_center"/>
 *     &lt;enumeration value="country_club"/>
 *     &lt;enumeration value="county_park"/>
 *     &lt;enumeration value="courthouse"/>
 *     &lt;enumeration value="department_store"/>
 *     &lt;enumeration value="embassy"/>
 *     &lt;enumeration value="entertainment"/>
 *     &lt;enumeration value="fairgrounds"/>
 *     &lt;enumeration value="fire_station"/>
 *     &lt;enumeration value="firing_range"/>
 *     &lt;enumeration value="fort"/>
 *     &lt;enumeration value="golf_course"/>
 *     &lt;enumeration value="government"/>
 *     &lt;enumeration value="government_local"/>
 *     &lt;enumeration value="gymnasium"/>
 *     &lt;enumeration value="hangar"/>
 *     &lt;enumeration value="helipad"/>
 *     &lt;enumeration value="hospital"/>
 *     &lt;enumeration value="kindergarten"/>
 *     &lt;enumeration value="launch_pad"/>
 *     &lt;enumeration value="library"/>
 *     &lt;enumeration value="marina"/>
 *     &lt;enumeration value="market"/>
 *     &lt;enumeration value="memorial"/>
 *     &lt;enumeration value="military"/>
 *     &lt;enumeration value="monument"/>
 *     &lt;enumeration value="museum"/>
 *     &lt;enumeration value="music"/>
 *     &lt;enumeration value="music_hall"/>
 *     &lt;enumeration value="music_venue"/>
 *     &lt;enumeration value="national_memorial"/>
 *     &lt;enumeration value="national_park"/>
 *     &lt;enumeration value="naval_base"/>
 *     &lt;enumeration value="nightclub"/>
 *     &lt;enumeration value="observatory"/>
 *     &lt;enumeration value="office"/>
 *     &lt;enumeration value="office_park"/>
 *     &lt;enumeration value="performing_art_center"/>
 *     &lt;enumeration value="place_of_worship"/>
 *     &lt;enumeration value="planetarium"/>
 *     &lt;enumeration value="police"/>
 *     &lt;enumeration value="political"/>
 *     &lt;enumeration value="post_office"/>
 *     &lt;enumeration value="power_station"/>
 *     &lt;enumeration value="power_substation"/>
 *     &lt;enumeration value="prison"/>
 *     &lt;enumeration value="private_property"/>
 *     &lt;enumeration value="protected_area"/>
 *     &lt;enumeration value="pub"/>
 *     &lt;enumeration value="public_building"/>
 *     &lt;enumeration value="public_facility"/>
 *     &lt;enumeration value="radio_tower"/>
 *     &lt;enumeration value="ranger_station"/>
 *     &lt;enumeration value="religious"/>
 *     &lt;enumeration value="runway"/>
 *     &lt;enumeration value="satellite"/>
 *     &lt;enumeration value="satellite_earth_station"/>
 *     &lt;enumeration value="science_park"/>
 *     &lt;enumeration value="service_center"/>
 *     &lt;enumeration value="social_center"/>
 *     &lt;enumeration value="social_club"/>
 *     &lt;enumeration value="social_facility"/>
 *     &lt;enumeration value="special_use"/>
 *     &lt;enumeration value="sports_center"/>
 *     &lt;enumeration value="stadium"/>
 *     &lt;enumeration value="stadium_basketball"/>
 *     &lt;enumeration value="stadium_baseball"/>
 *     &lt;enumeration value="stadium_football"/>
 *     &lt;enumeration value="stadium_soccer"/>
 *     &lt;enumeration value="stock_exchange"/>
 *     &lt;enumeration value="studio"/>
 *     &lt;enumeration value="telecommunication_facility"/>
 *     &lt;enumeration value="theater"/>
 *     &lt;enumeration value="theme_park"/>
 *     &lt;enumeration value="tourist_attraction"/>
 *     &lt;enumeration value="town_hall"/>
 *     &lt;enumeration value="university"/>
 *     &lt;enumeration value="weather_station"/>
 *     &lt;enumeration value="zoo"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * <p/>
 */
@XmlType(name = "enumLocationType")
@XmlEnum
public enum EnumLocationType {

  @XmlEnumValue("administrative")
  ADMINISTRATIVE("administrative"),
  @XmlEnumValue("aerodrome")
  AERODROME("aerodrome"),
  @XmlEnumValue("agriculture")
  AGRICULTURE("agriculture"),
  @XmlEnumValue("airfield")
  AIRFIELD("airfield"),
  @XmlEnumValue("airport")
  AIRPORT("airport"),
  @XmlEnumValue("amphitheater")
  AMPHITHEATER("amphitheater"),
  @XmlEnumValue("amusement_park")
  AMUSEMENT_PARK("amusement_park"),
  @XmlEnumValue("animal_enclosure")
  ANIMAL_ENCLOSURE("animal_enclosure"),
  @XmlEnumValue("aquarium")
  AQUARIUM("aquarium"),
  @XmlEnumValue("arcade")
  ARCADE("arcade"),
  @XmlEnumValue("archaeological_site")
  ARCHAEOLOGICAL_SITE("archaeological_site"),
  @XmlEnumValue("arena")
  ARENA("arena"),
  @XmlEnumValue("armory")
  ARMORY("armory"),
  @XmlEnumValue("art_center")
  ART_CENTER("art_center"),
  @XmlEnumValue("art_gallery")
  ART_GALLERY("art_gallery"),
  @XmlEnumValue("attraction")
  ATTRACTION("attraction"),
  @XmlEnumValue("auditorium")
  AUDITORIUM("auditorium"),
  @XmlEnumValue("aviation")
  AVIATION("aviation"),
  @XmlEnumValue("bank")
  BANK("bank"),
  @XmlEnumValue("barracks")
  BARRACKS("barracks"),
  @XmlEnumValue("basketball_court")
  BASKETBALL_COURT("basketball_court"),
  @XmlEnumValue("battlefield")
  BATTLEFIELD("battlefield"),
  @XmlEnumValue("beach_resort")
  BEACH_RESORT("beach_resort"),
  @XmlEnumValue("bed_and_breakfast")
  BED_AND_BREAKFAST("bed_and_breakfast"),
  @XmlEnumValue("biergarten")
  BIERGARTEN("biergarten"),
  @XmlEnumValue("boathouse")
  BOATHOUSE("boathouse"),
  @XmlEnumValue("boatyard")
  BOATYARD("boatyard"),
  @XmlEnumValue("bus_station")
  BUS_STATION("bus_station"),
  @XmlEnumValue("business_center")
  BUSINESS_CENTER("business_center"),
  @XmlEnumValue("campus")
  CAMPUS("campus"),
  @XmlEnumValue("casino")
  CASINO("casino"),
  @XmlEnumValue("castle")
  CASTLE("castle"),
  @XmlEnumValue("cemetery")
  CEMETERY("cemetery"),
  @XmlEnumValue("chamber_of_commerce")
  CHAMBER_OF_COMMERCE("chamber_of_commerce"),
  @XmlEnumValue("church")
  CHURCH("church"),
  @XmlEnumValue("cinema")
  CINEMA("cinema"),
  @XmlEnumValue("city_hall")
  CITY_HALL("city_hall"),
  @XmlEnumValue("club")
  CLUB("club"),
  @XmlEnumValue("club_house")
  CLUB_HOUSE("club_house"),
  @XmlEnumValue("college")
  COLLEGE("college"),
  @XmlEnumValue("commercial")
  COMMERCIAL("commercial"),
  @XmlEnumValue("concert_venue")
  CONCERT_VENUE("concert_venue"),
  @XmlEnumValue("conference_center")
  CONFERENCE_CENTER("conference_center"),
  @XmlEnumValue("conservatory")
  CONSERVATORY("conservatory"),
  @XmlEnumValue("construction_site")
  CONSTRUCTION_SITE("construction_site"),
  @XmlEnumValue("control_tower")
  CONTROL_TOWER("control_tower"),
  @XmlEnumValue("convention_center")
  CONVENTION_CENTER("convention_center"),
  @XmlEnumValue("country_club")
  COUNTRY_CLUB("country_club"),
  @XmlEnumValue("county_park")
  COUNTY_PARK("county_park"),
  @XmlEnumValue("courthouse")
  COURTHOUSE("courthouse"),
  @XmlEnumValue("department_store")
  DEPARTMENT_STORE("department_store"),
  @XmlEnumValue("embassy")
  EMBASSY("embassy"),
  @XmlEnumValue("entertainment")
  ENTERTAINMENT("entertainment"),
  @XmlEnumValue("fairgrounds")
  FAIRGROUNDS("fairgrounds"),
  @XmlEnumValue("fire_station")
  FIRE_STATION("fire_station"),
  @XmlEnumValue("firing_range")
  FIRING_RANGE("firing_range"),
  @XmlEnumValue("fort")
  FORT("fort"),
  @XmlEnumValue("golf_course")
  GOLF_COURSE("golf_course"),
  @XmlEnumValue("government")
  GOVERNMENT("government"),
  @XmlEnumValue("government_local")
  GOVERNMENT_LOCAL("government_local"),
  @XmlEnumValue("gymnasium")
  GYMNASIUM("gymnasium"),
  @XmlEnumValue("hangar")
  HANGAR("hangar"),
  @XmlEnumValue("helipad")
  HELIPAD("helipad"),
  @XmlEnumValue("hospital")
  HOSPITAL("hospital"),
  @XmlEnumValue("kindergarten")
  KINDERGARTEN("kindergarten"),
  @XmlEnumValue("launch_pad")
  LAUNCH_PAD("launch_pad"),
  @XmlEnumValue("library")
  LIBRARY("library"),
  @XmlEnumValue("marina")
  MARINA("marina"),
  @XmlEnumValue("market")
  MARKET("market"),
  @XmlEnumValue("memorial")
  MEMORIAL("memorial"),
  @XmlEnumValue("military")
  MILITARY("military"),
  @XmlEnumValue("monument")
  MONUMENT("monument"),
  @XmlEnumValue("museum")
  MUSEUM("museum"),
  @XmlEnumValue("music")
  MUSIC("music"),
  @XmlEnumValue("music_hall")
  MUSIC_HALL("music_hall"),
  @XmlEnumValue("music_venue")
  MUSIC_VENUE("music_venue"),
  @XmlEnumValue("national_memorial")
  NATIONAL_MEMORIAL("national_memorial"),
  @XmlEnumValue("national_park")
  NATIONAL_PARK("national_park"),
  @XmlEnumValue("naval_base")
  NAVAL_BASE("naval_base"),
  @XmlEnumValue("nightclub")
  NIGHTCLUB("nightclub"),
  @XmlEnumValue("observatory")
  OBSERVATORY("observatory"),
  @XmlEnumValue("office")
  OFFICE("office"),
  @XmlEnumValue("office_park")
  OFFICE_PARK("office_park"),
  @XmlEnumValue("performing_art_center")
  PERFORMING_ART_CENTER("performing_art_center"),
  @XmlEnumValue("place_of_worship")
  PLACE_OF_WORSHIP("place_of_worship"),
  @XmlEnumValue("planetarium")
  PLANETARIUM("planetarium"),
  @XmlEnumValue("police")
  POLICE("police"),
  @XmlEnumValue("political")
  POLITICAL("political"),
  @XmlEnumValue("post_office")
  POST_OFFICE("post_office"),
  @XmlEnumValue("power_station")
  POWER_STATION("power_station"),
  @XmlEnumValue("power_substation")
  POWER_SUBSTATION("power_substation"),
  @XmlEnumValue("prison")
  PRISON("prison"),
  @XmlEnumValue("private_property")
  PRIVATE_PROPERTY("private_property"),
  @XmlEnumValue("protected_area")
  PROTECTED_AREA("protected_area"),
  @XmlEnumValue("pub")
  PUB("pub"),
  @XmlEnumValue("public_building")
  PUBLIC_BUILDING("public_building"),
  @XmlEnumValue("public_facility")
  PUBLIC_FACILITY("public_facility"),
  @XmlEnumValue("radio_tower")
  RADIO_TOWER("radio_tower"),
  @XmlEnumValue("ranger_station")
  RANGER_STATION("ranger_station"),
  @XmlEnumValue("religious")
  RELIGIOUS("religious"),
  @XmlEnumValue("runway")
  RUNWAY("runway"),
  @XmlEnumValue("satellite")
  SATELLITE("satellite"),
  @XmlEnumValue("satellite_earth_station")
  SATELLITE_EARTH_STATION("satellite_earth_station"),
  @XmlEnumValue("science_park")
  SCIENCE_PARK("science_park"),
  @XmlEnumValue("service_center")
  SERVICE_CENTER("service_center"),
  @XmlEnumValue("social_center")
  SOCIAL_CENTER("social_center"),
  @XmlEnumValue("social_club")
  SOCIAL_CLUB("social_club"),
  @XmlEnumValue("social_facility")
  SOCIAL_FACILITY("social_facility"),
  @XmlEnumValue("special_use")
  SPECIAL_USE("special_use"),
  @XmlEnumValue("sports_center")
  SPORTS_CENTER("sports_center"),
  @XmlEnumValue("stadium")
  STADIUM("stadium"),
  @XmlEnumValue("stadium_basketball")
  STADIUM_BASKETBALL("stadium_basketball"),
  @XmlEnumValue("stadium_baseball")
  STADIUM_BASEBALL("stadium_baseball"),
  @XmlEnumValue("stadium_football")
  STADIUM_FOOTBALL("stadium_football"),
  @XmlEnumValue("stadium_soccer")
  STADIUM_SOCCER("stadium_soccer"),
  @XmlEnumValue("stock_exchange")
  STOCK_EXCHANGE("stock_exchange"),
  @XmlEnumValue("studio")
  STUDIO("studio"),
  @XmlEnumValue("telecommunication_facility")
  TELECOMMUNICATION_FACILITY("telecommunication_facility"),
  @XmlEnumValue("theater")
  THEATER("theater"),
  @XmlEnumValue("theme_park")
  THEME_PARK("theme_park"),
  @XmlEnumValue("tourist_attraction")
  TOURIST_ATTRACTION("tourist_attraction"),
  @XmlEnumValue("town_hall")
  TOWN_HALL("town_hall"),
  @XmlEnumValue("university")
  UNIVERSITY("university"),
  @XmlEnumValue("weather_station")
  WEATHER_STATION("weather_station"),
  @XmlEnumValue("zoo")
  ZOO("zoo");
  private final String value;

  EnumLocationType(String v) {
    value = v;
  }

  public String value() {
    return value;
  }

  public static EnumLocationType fromValue(String v) {
    for (EnumLocationType c : EnumLocationType.values()) {
      if (c.value.equals(v)) {
        return c;
      }
    }
    throw new IllegalArgumentException(v);
  }
}
